package com.jeesite.modules.stock.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

import lombok.Data;

@Data
@Table(name="stocks_informations", alias="a", label="股票基本信息", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="stock_name", attrName="stockName", label="股票名称", isQuery=true),
		@Column(name="stock_code", attrName="stockCode", label="股票代码", isQuery=true),
		@Column(name="industry", attrName="industry", label="行业", isQuery=true),
		@Column(name="stock_name_pinyin", attrName="stockNamePinYin", label="股票拼音缩写", isQuery=true),
		@Column(name="exchange", attrName="exchange", label="股票交易所", isQuery=true),
	})
public class StockInfomationEntity extends DataEntity<StockInfomationEntity>{

	private static final long serialVersionUID = 1L;

	private String stockCode;
	
	private String stockName;
	
	private String stockNamePinYin;
	
	private String industry;
	
	private String exchange;

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}

	public String getStockNamePinYin() {
		return stockNamePinYin;
	}

	public void setStockNamePinYin(String stockNamePinYin) {
		this.stockNamePinYin = stockNamePinYin;
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getExchange() {
		return exchange;
	}

	public void setExchange(String exchange) {
		this.exchange = exchange;
	}
}
